/*
 * @Description: 测试类
 * @Author: rendc
 * @Date: 2025-07-31 14:15:40
 * @LastEditors: rendc
 * @LastEditTime: 2025-07-31 14:20:30
 */

public class Test {

  public static void main(String[] args) {
    Cat cat = new Cat();
    System.out.println(cat.num);
    cat.num = 10;
    cat.showNum();
    System.out.println(Cat.num);
    Cat.showNum();

  }

}